_gtk_load_custom_papers() exists only on Unix.
authorTor Lillqvist <tml@novell.com>
Mon, 30 Apr 2007 07:42:12 +0000 (07:42 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 30 Apr 2007 07:42:12 +0000 (07:42 +0000)
2007-04-30  Tor Lillqvist  <tml@novell.com>

* gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
_gtk_load_custom_papers() exists only on Unix.

svn path=/trunk/; revision=17733

ChangeLog
gtk/gtkpapersize.c

index 206c6b2b27ec9dcd18833f5815872148fbcabcba..a5b99c74c74b5799c68cf84aed0e2759eccaa37a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-30  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
+       _gtk_load_custom_papers() exists only on Unix.
+
 2007-04-30  Tor Lillqvist  <tml@novell.com>
 
        Add functionality to set overall opacity of a top-level
index 12d23f224405fbca8ed5bb31afb71209e74e51e0..4536adbd254f24e15a8a82ed87f8d752961fae84 100644 (file)
@@ -452,10 +452,10 @@ gtk_paper_size_get_paper_sizes (gboolean include_custom)
 {
   GList *list = NULL;
   guint i;
-
+#ifdef G_OS_UNIX               /* _gtk_load_custom_papers() only on Unix so far  */
   if (include_custom) 
     list = _gtk_load_custom_papers ();
-
+#endif
   for (i = 0; i < G_N_ELEMENTS (standard_names_offsets); ++i)
     {
        GtkPaperSize *size;